package com.banksoft.cps.dao;

import com.banksoft.cps.bean.SupplierCompany;
import com.banksoft.cps.bean.query.SupplierCompanyQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/12.
 */
@Repository
public interface SupplierCompanyDao {

    List<SupplierCompany> list(SupplierCompanyQuery query);

    long count(SupplierCompanyQuery query);

    void insert(SupplierCompany bean);

    void update(SupplierCompany bean);

    SupplierCompany findById(String id);

    List<SupplierCompany> listByIdList(List<String> idList);
}
